package com.hoshiibuy.platform.feign;

import com.hoshiibuy.common.rpc.Response;
import com.hoshiibuy.platform.feign.hystrix.HystrixNeo4jFeignFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author yl
 * @title: Neo4jService
 * @projectName hoshiibuy
 * @description: neo4j操作接口
 * @date 2019/4/22
 */
@FeignClient(name = "hoshiibuy-neo4j",fallback = HystrixNeo4jFeignFallback.class)
public interface Neo4jService {

    @PostMapping(value = "/neo4j/create/platform",consumes = "application/json")
    Response createPlatform(String param);
}
